package com.itheima.Zuoye03;

public class Demo01 {
    public static void main(String[] args) {
        Coach c = new Coach();
        c.setId("JL25588");
        c.setName("张三");
        c.setSex("男");
        c.setAge(35);
        c.eat();
        Sportsman s = new Sportsman();
        s.setId("YDY05533");
        s.setName("李四");
        s.setSex("男");
        s.setAge(20);
        s.eat();
    }
}
